import { get, post } from './http.js'
const HttpManager={
	// 是否登录成功
	getLoginStatus: (params) => post(`/login`, params),
	//手机登录
	PhoneLogin:(params)=>post(`/login`,params),
	//学生Id登录
	IDLogin:(params)=>post(`/moyu-security/MyLogin/schoolLogin`,params),
	//获取学校的列表
	getSchoolList:()=>get('/MyLogin/getSchoolList',{}),
	//注册发送验证码
	Registration:(params)=>post('/register/registerTo',params),
	//注册
	RegistrationSending:(value)=>get('/register/sendRegisterCode',value),
	
	//获取机构列表
	GetSchoolList:()=>get('/school/getSchoolList'),
	SchoolLogin:(params)=>post("/MyLogin/schoolLogin",params),
	getSchoolLoginRoleList:()=>get("/MyLogin/getSchoolLoginRoleList"),
	//绑定机构
	BindingRole:(params)=>post('/user/bindingRole',params)
	
}
export {HttpManager};